package com.example.common.to.order;

import com.example.common.entity.order.OrderEntity;
import com.example.common.entity.order.OrderItemEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@Setter
@Getter
public class OrderCreateTo {

    private OrderEntity order;

    private List<OrderItemEntity> items;

    /** 应付价格 **/
    private BigDecimal payPrice;

    /** 运费 **/
    private BigDecimal fare = BigDecimal.ZERO;
}
